package com.fingard.dsp.bank.reqrespobj.auditAccount;

import com.fingard.dsp.bank.reqrespobj.ReqRespHeader;
import com.fingard.dsp.bank.reqrespobj.RetAtsBase;
import com.fingard.xml.XmlTextWriter;

public class RetAtsAuditAccountQry extends RetAtsBase{

	public RetAtsAuditAccountQry(ReqRespHeader p_header) {
        retHeader = p_header;
        retXmlWriter = new XmlTextWriter();
    }
	
	public void writeRetDetail(RetAtsAuditAccountQryDetail p_retDetail) throws Exception {

	        retXmlWriter.writeStartElement("DetailRecord");
	        retXmlWriter.writeElementString("Mmbid", p_retDetail.mmbid);
	        retXmlWriter.writeElementString("Cdtld02", p_retDetail.cdtld02);
	        retXmlWriter.writeElementString("Ttlpldgval", p_retDetail.ttlpldgval);
	        retXmlWriter.writeElementString("Cdtxtnsnlmt", p_retDetail.cdtxtnsnlmt);
	        retXmlWriter.writeElementString("Netbtlmt", p_retDetail.netbtlmt);
	        retXmlWriter.writeElementString("Avlblnetdbt", p_retDetail.avlblnetdbt);
	        retXmlWriter.writeEndElement();
	    }
}
